<?php
require(EC_PATH . '/includes/lib_flashsale.php');

($flashsale_id = _POST('act_id')) || abort('无效参数!');

$data = $GLOBALS['db']->getRow('SELECT * FROM '.$GLOBALS['ecs']->table('flashsale')." WHERE act_id={$flashsale_id}");

return flashsale_details($data);